.editor {
    width: 100vw;
    height: 100vh;
    @include columnFlex();
    .editor-header {
        height: 55px;
        border-bottom: 1px solid $--border-bg-primary-color;
        box-shadow: 0px 0px 5px $--border-bg-primary-color;
        display: flex;
        align-items: center;
        padding: 0 25px;
        color: #666;
        font-size: 18px;
        font-weight: 500;
        .preview-button {
            background-color: $--active-primary-color;
            color: #fff;
            margin-left: 50px;
            height: 24px;
            line-height: 24px;
            border-radius: 0;
        }
    }
    .editor-main {
        position: relative;
        flex: 1;
        display: flex;
        width: 100%;
        overflow: hidden;
        .outline-tree {
            width: 320px;
            height: 100%;
            border-right: 1px solid $--border-bg-primary-color;
            box-shadow: 2px 0px 5px $--border-bg-primary-color;
            display: flex;
            .current-control-list {
                flex: 1;
            }
            .category-list {
                width: 65px;
                height: 100%;
                border-left: 1px solid $--border-bg-primary-color;
                display: flex;
                flex-direction: column;
                flex-wrap: wrap;
                .catetory-item {
                    width: 100%;
                    height: 50px;
                    border-bottom: 1px solid $--border-bg-primary-color;
                    font-size: 14px;
                    color: #666;
                    cursor: pointer;
                    font-weight: 500;
                    @include flexCenter();
                    &.active-category {
                        background-color: $--active-primary-color;
                        color: #fff;
                    }
                }
            }
        }
        .current-component {
            width: 280px;
            box-shadow: 2px 0px 5px $--border-bg-primary-color;
            .component-item {
                font-size: 15px;
                height: 50px;
                border-bottom: 1px solid #efefef;
                line-height: 50px;
                padding: 0 15px;
                box-sizing: border-box;
            }
            .no-component-list {
                width: 100%;
                height: 100%;
                padding: 50px 0;
            }
        }
        .canvas-main {
            position: relative;
            flex: 1;
            background-color: $--border-bg-primary-color;
            background-image: linear-gradient(90deg, rgba(66, 74, 80, 0.15) 10%, rgba(0, 0, 0, 0) 10%),
            linear-gradient(0deg,rgba(66, 74, 80, 0.15) 10%, rgba(0, 0, 0, 0) 10%);
            background-size: 10px 10px;
            @include flexCenter();
            .canvas-wrapper {
                width: 90%;
                height: 660px;
                background-color: #FFF;
                box-shadow: 0px 0px 5px $--border-bg-primary-color;
                .v-edit-comp-wrapper {
                    position: absolute;
                    overflow: hidden;
                    @include scrollStyle();
                }
            }
        }
        .gui-config-wrapper {
            @include columnFlex();
            width: 350px;
            overflow: auto;
            border-left: 1px solid $--border-bg-primary-color;
            box-shadow: -2px 0px 5px $--border-bg-primary-color;
            .config-header-menu {
                width: 100%;
                height: 50px;
                border-bottom: 1px solid $--border-bg-primary-color;
                display: flex;
                justify-content: space-between;
                .header-menu-item {
                    flex: 1;
                    @include flexCenter();
                    border-right: 1px solid $--border-bg-primary-color;
                    &:last-child {
                        border-right: 0;
                    }
                    &.active-menu-item {
                        background: $--active-primary-color;
                        color: #fff;
                    }
                }
            }
        }
    }
}